package com.itheima.pojo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor //无参
@AllArgsConstructor // 满参构造器
@Builder //构建器，可以构建任意参数赋值的对象
public class User {
    private Integer id;
    private String yourName;
    private Integer age;
    private Byte gender;
    private String phone;

}


class Demo{
    public static void main(String[] args) {
        User user = new User();
        System.out.println("user = " + user);


    }
}
